Conditional Decision
Important: From Workflow 10.4.1 onwards, the Routing Decision activity is no longer available in the toolbox for new installations of Workflow. Instead, use the Conditional Decision activity, which is functionally identical to the Routing Decision activity. Workflows containing the old Routing Decision activity can still use the activity as normal, but you will not be able to add the Routing Decision activity when creating or modifying workflows. If you update to Workflow 10.4.1 from an older version of Workflow, the Routing Decision activity will continue to be in your toolbox until you reset the toolbox.
This activity runs the first branch (sequence of activities) that has satisfied conditions. The activity has two branches by default. All branches, except the branch that appears to the far right in the Designer Pane, must be assigned a condition that defines when a branch will run. Although a right-most branch can be assigned a condition, one is not required.
When a workflow definition reaches a Conditional Decision activity, it evaluates each branch's condition—one at a time, starting from the left—until one of the following events takes place.
- A condition is satisfied. In this event, the branch in question is run.
- A right-most branch with no condition is found. In this event, the branch in question is run. If a right-most branch has no condition and no activities, the entry will proceed to the next step in the workflow.
- None of the conditions in any of the branches are satisfied. In this event, the entry will proceed to the next step in the workflow.
See an animation of this activity
See a video of a workflow that uses this activity
How does this activity look in the Designer Pane?
To add this activity to a workflow definition
- Drag it from the Toolbox Pane and drop it in the Designer Pane.
To configure this activity
- Select the activity in the Designer Pane to configure the following.
- Activity Name
- Activity Description
- Branch Configuration
- Adding Branches
- Deleting Branches
- Enabling and Disabling Branches
Note: If you have more than one connection profile for your workflow definition, the Connection Profile property box lets you specify which connection profile this activity will use.